package com.zh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableEurekaServer  //eureka-client注解，启动后服务自动注册到eureka-server
public class EurekaClientApplication {
    public static void main(String[] args) {
        System.out.println("");
        SpringApplication.run(EurekaClientApplication.class,args);
    }
}
